package hjt.com.module_design_pattern.pattern.proxy;

/**
 * Created by hjt on 2019/4/18.
 */

public class Lawer implements ILawsuit {

    private ILawsuit iLawsuit;

    public Lawer(ILawsuit iLawsuit) {
        this.iLawsuit = iLawsuit;
    }

    @Override
    public void submit() {
        iLawsuit.submit();
    }

    @Override
    public void defend() {
        iLawsuit.defend();
    }

    @Override
    public void finish() {
        iLawsuit.finish();
    }
}
